package com.xdap.keymen.entity.dayang;


import com.definesys.mpaas.query.annotation.Column;
import com.definesys.mpaas.query.annotation.Style;
import com.definesys.mpaas.query.annotation.Table;
import com.xdap.api.moudle.base.entity.NoTenBasePojo;
import lombok.*;

import java.util.Date;

@EqualsAndHashCode(callSuper = true)
@Table(value = "dy_coupon")
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@Style()
public class DaYangCouponEntity extends NoTenBasePojo {

    private String id;
    /**
     * 优惠券ID
     */
    @Column("coupon_id")
    private String couponId;

    /**
     * 优惠券名称
     */
    @Column("coupon_name")
    private String couponName;

    /**
     * 过期时间
     */
    @Column("expiration_date")
    private Date expirationDate;

    /**
     * 生效日期
     */
    @Column("effective_date")
    private Date effectiveDate;

    /**
     * 优惠券类型
     */
    @Column("coupon_type")
    private String couponType;

    /**
     * 优惠券状态
     */
    @Column("coupon_status")
    private String couponStatus;

    /**
     * 优惠券分类
     */
    @Column("coupon_distribution_scenario")
    private String couponDistributionScenario;

    /**
     * 优惠券面值
     */
    @Column("coupon_value")
    private String couponValue;

    /**
     * 有效期(天数)
     */
    @Column("valid_days")
    private int validDays;

    /**
     * 微盟关联的模版ID
     */
    @Column("template_weimo_id")
    private String wmTemplateId;

    /**
     * 不适用门店
     */
    @Column("applicable_stores")
    private String applicableStores;

    @Column("amount_threshold")
    private String amountThreshold;

}
